package com.xiaochong.tir.common.data.mapper;

import com.xiaochong.tir.common.data.mapper.base.BaseDao;
import com.xiaochong.tir.common.data.po.ExchangeTransactionpairMiddle;
import com.xiaochong.tir.common.data.po.TransactionPair;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by admin on 2018/5/30.
 */
public interface TransactionPairMapper extends BaseDao<TransactionPair,Integer> {

    //交易对列表
    List<TransactionPair> selectByentityList(TransactionPair transactionPair);

    TransactionPair selectBytraId(@Param("id") Integer id);

    int insertTransaction(TransactionPair transactionPair);

    List<TransactionPair> selectDistenctList(TransactionPair transactionPair);

    List<TransactionPair> transactionUniqueness(TransactionPair transactionPair);

    List<TransactionPair> getCurrencySea(TransactionPair transactionPair);

    int deleteById(TransactionPair transactionPair);
}
